package masterjava.soa.smsgate;

import javax.jws.WebMethod;
import javax.jws.WebService;

/**
 * User: GKislin
 * Date: 11.01.11
 */

@WebService(targetNamespace = "http://http://smsgate.masterjava.soa.masterjava")
public interface SmsGate {
    @WebMethod
    public void sendConfirmCode(String phone);

    @WebMethod
    public boolean checkConfirmCode(String phone, String code);

    @WebMethod
    public void sendSms(String sender, String phone, String message);
}
